<html>

	<head>
		
		<title>Projet L3</title>
		
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		
		<link rel="stylesheet" type="text/css" media="screen" href="/GJO2M/style.css" />
		
	</head>

<%@page import="control.bd.table.User" %>
<%@page import="control.bd.requete.Requetes" %>
<%@page import="control.bd.table.User" %>
<%@page import="control.bd.requete.Requetes" %>
<%@page import="java.util.List" %>
<%@page import="modele.Produit" %>

		<body>

			<div id="siteLock">
			
				<div id="header"> 
			
					<h2><a href="./" title="Accueil">Bienvenue !</a></h2>
				
					<ul id="try"> 
						
						<li><a href="/GJO2M/Client/fin.jsp">Categorie 1</a></li>
						
						<li><a href="#">Categorie 2</a></li> 
						
						<li><a href="#">Categorie 3</a></li> 
						
						<li><a href="#">Categorie 4</a></li> 
						
					</ul>
				
					<div id="try1">
					
						<%

						if(request.getAttribute("users") != null){
							
							List<User> users = (List<User>)request.getAttribute("users");
							
							for(User user : users){
								
								out.print("Bienvenue "+user.getPrenom()+" !");
								
							}
							
						}

						%>
							
						<br/>	<form action="/GJO2M/control/servlet/compte/RechercheCompte" method="get">
												
								<input type="submit" value="Mon compte"></input>
								
			</form>				
							
						<br/><a href="/GJO2M/Panier/personnaliser.jsp">Personnaliser mon compte</a>
						
						<br/><a href="/GJO2M/Panier/panier.jsp">Mon panier : 0 </a>
						
						<li>
					
							<form action="/GJO2M/control/servlet/deconnexion/DeconnexionServlet" method="get">
												
								<input type="submit" value="Se deconnecter"></input>
								
							</form>
							
						</li> 
					
					</div> 
	
				</div>
			
			<div id="block">
			
						<div id="textos"> 
			
						<h1>Modifier les informations</h1>
	
						<form action="/GJO2M/control/servlet/compte/ModifierCompte" method="get">
	
							Login: <input type="text" name="login"></input><br/>
							Mot de passe: <input type="text" name="password"></input><br/>
							Email: <input type="text" name="email"></input><br/>
							Nom: <input type="text" name="nom"></input><br/>
							Prenom: <input type="text" name="prenom"></input><br/>
							Adresse: <input type="text" name="adresse"></input><br/>
							Tel: <input type="text" name="tel"></input><br/>
							<input type="submit" value="Modifier"></input>
	
						</form>

                     <div id="footer">
                                
                     	<ul id="try2"> 
                       
                       		<li><a href="/GJO2M/Pied/projet.jsp">Projet 2012</a></li>
                       		
                            <li><a href="/GJO2M/Pied/QuiSommesNous.jsp">Qui sommes-nous?</a></li> 
                                                
                            <li><a href="#">Mode administrateur</a></li> 
                                                
                            <li><a href="/GJO2M/Pied/NousContacter.jsp">Nous contacter</a></li> 
                            
                       	</ul>
                                        
                   	</div>
                                
               	</div>
        
        	</div>
                
        </body>
                        
</html>